package com.example.back.dto.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName ProcessCheckupOrderDto
 * @Author wengjt
 * @Date 2021/5/13 10:28
 * @Description
 **/
@Data
@ApiModel
public class ProcessCheckupOrderDto {
    @ApiModelProperty("预约体检订单id")
    private String crOrderNo;
    @ApiModelProperty("订单状态 1->同意 2->拒绝")
    private Integer rStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("检查时间")
    private Date checkup;
    @ApiModelProperty("检查地址")
    private String checkupAddress;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("拒绝原因")
    private String refuseReason;
}
